package com.hzw.saas.service.hpc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzw.saas.service.hpc.model.HpcBalanceOrder;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/5/31 17:01
 */
@Mapper
public interface HpcBalanceOrderMapper extends BaseMapper<HpcBalanceOrder> {

    /**
     * 逻辑删除
     * @param hpcAccountRecordId
     */
    @Delete("<script> delete from tb_hpc_balance_order where hpc_account_record_id=#{hpcAccountRecordId}  </script>")
    void deleteHpcAccountAmountDailyFromXmlByHpcRecordId(@Param("hpcAccountRecordId") String hpcAccountRecordId);
}
